package com.guage.zookeeper;

import org.I0Itec.zkclient.ZkClient;
import org.I0Itec.zkclient.serialize.SerializableSerializer;

public class NodeExists {
	public static void main(String[] args) {
		ZkClient zc = new ZkClient("192.168.222.135:2181", 1000, 1000, new SerializableSerializer());
		System.out.println("conneted ok!");

		boolean e = zc.exists("/jike5");

		System.out.println(e);

	}
}
